// 换行
.text-clamp (@line) {
  text-overflow: ellipsis;
  overflow : hidden;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: @line;
  -webkit-box-orient: vertical;
}
// 扩展点击区域
.extend-click(@position) {
  position: @position;
  &:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
  }
}
.text-clamp-ie () {
  overflow: hidden;
  position: relative;
  height: 14px;
  line-height: 14px;
  &:after {
    content: '...';
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 1.8em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
  }
}
